<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-broaduser-edit" th:object="${broaduser}">
            <input id="userid" name="userid" th:field="*{userid}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">广播用户姓名：</label>
				<div class="col-sm-8">
					<input id="uname" name="uname" th:field="*{uname}" class="form-control" type="text">
				</div>
			</div>
		<!--	<div class="form-group">
				<label class="col-sm-3 control-label">广播用户身份等级：</label>
				<div class="col-sm-8">
					<input id="userlevel" name="userlevel" th:field="*{userlevel}" class="form-control" type="text">
				</div>
			</div>-->
			<div class="form-group">	
				<label class="col-sm-3 control-label">广播用户手机号码：</label>
				<div class="col-sm-8">
					<input id="uphone" name="uphone" th:field="*{uphone}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">广播用户地址：</label>
				<div class="col-sm-8">
					<input id="uaddress" name="uaddress" th:field="*{uaddress}" class="form-control" type="text">
				</div>
			</div>
			<!--<div class="form-group">
				<label class="col-sm-3 control-label">账号状态：</label>
				<div class="col-sm-8">
					<input id="isuse" name="isuse" th:field="*{isuse}" class="form-control" type="text">
				</div>
			</div>-->
			<!--<div class="form-group">
				<label class="col-sm-3 control-label">用户最后登录时间：</label>
				<div class="col-sm-8">
					<input id="lastdate" name="lastdate" th:field="*{lastdate}" class="form-control" type="text">
				</div>
			</div>-->
			<!--<div class="form-group">
				<label class="col-sm-3 control-label">管理区域：</label>
				<div class="col-sm-8">
					<input id="aname" name="aname" th:field="*{aname}" class="form-control" type="text">
				</div>
			</div>-->
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "broad/broaduser"
		$("#form-broaduser-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-broaduser-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
